using Voodoo.Pattern;

public class UpgradesButton : ShopButton
{
	public override void OnCLick()
	{
		if (CurrentState == ShopButtonState.Showing)
		{
			SwitchState(ShopButtonState.Hidden);
			SingletonMB<UpgradesContainer>.Instance.Hide();
			SingletonMB<IncrementalContainer>.Instance.Show();
		}
		else
		{
			base.OnCLick();
			SingletonMB<UpgradesContainer>.Instance.Show();
		}
	}
}
